//
// Created by tacom on 22-9-1.
//

#include "SegCudaCommon.h"


void SegCudaCommon::deviceImgShow(cv::cuda::GpuMat &in, int time) {
    cv::Mat mat;
    in.download(mat);
    cv::imshow("GpuMat", mat);
    cv::waitKey(time);
}

void SegCudaCommon::hostImgShow(cv::Mat &in, int time) {
    cv::imshow("CpuMat", in);
    cv::waitKey(time);
}
